Page({
  data: {
    isShow:true,
    popImg:{
      url:"https://img.alicdn.com/imgextra/i4/4161056916/O1CN01RIJ1cx20xZowLSNac_!!4161056916.png",
      width:650,
      height:1037
    },    //底图
    closeBtnPosi:'100,100,130,330',           //关闭按钮宽高上边距左边距
    showHotV:false,                            //显示画的热区
    hotView:"500,700,380,124",                // 活动热区
    hotViewImg:{      //活动热区图片
      url:"https://img.alicdn.com/imgextra/i2/4161056916/O1CN01w4nyAo20xZoo6yCPV_!!4161056916.png",
      width:498,
      height:2336
    },
    jump:{
      // link:'https://detail.tmall.com/item.htm?id=626867662153',
      jumpPosi:'200,100,100,100'
    },           //跳转链接
  },

  onLoad() {},

  closePop(){
    this.setData({
      isShow:false
    })
  },

  // 跳转链接   如果跳转链接不存在就当作关闭
  Jump(){

    if(this.data.jump.link){
      my.call('navigateToOutside',{ url: this.data.jump.link })
    }else{
      this.setData({
        isShow:false
      })
    }

  }

});
